<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>个人中心</title>
    <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport" />
    <meta content="yes" name="apple-mobile-web-app-capable">
    <meta content="black" name="apple-mobile-web-app-status-bar-style">
    <meta content="telephone=no" name="format-detection">

    <link rel="stylesheet" href="/gupiao/css/weui.css">
    <link rel="stylesheet" href="/gupiao/css/jquery-weui.css">
    <link rel="stylesheet" href="/gupiao/css/style.css">
    <link rel="stylesheet" href="http://at.alicdn.com/t/font_689900_67ko2wtragj.css">

    <style>
        .mycenter-top{background: #fff;overflow: hidden;line-height: 60px;padding:20px;}
        .mycenter-top img{border-radius: 50%;float: left;}
        .mycenter-top p{margin-left: 20px;float: left;font-size: 18px;}
        .user-list-lb .iconfont {margin-right: 10px;}
        .user-list-lb .iconfont.i1 {color: #4abdcc;}
        .user-list-lb .iconfont.i2 {color: #1296db;}
        .user-list-lb .iconfont.i3 {color: #e76160;}
    </style>
</head>
<body class="back1">


<div class="mycenter-top">

    <img src="{$photo}" width="60">
    <p>{$username}</p>

    <p style="float:right;font-size: 16px;"><i class="iconfont icon-chongzhi-" style="color: #4abdcc;"></i> 余额：

        {if  $yu.balance != 0}
        {$yu.balance}
        {else if $yu.balance == 0}
        0
        {/if}
        元</p>

</div>


<div class="weui-cells user-list-lb">

     {if $yu.is_manager == 0}

    <a class="weui-cell weui-cell_access" href="{:url('gupiao.mycenter/recharge')}">
        <div class="weui-cell__hd"><i class="iconfont icon-chongzhi i1"></i></div>
        <div class="weui-cell__bd">
            <p>充值</p>
        </div>
        <div class="weui-cell__ft"></div>
    </a>
    <!--<a class="weui-cell weui-cell_access" href="{:url('gupiao.mycenter/unread')}">-->
        <!--<div class="weui-cell__hd"><i class="iconfont icon-huifu i2"></i></div>-->
        <!--<div class="weui-cell__bd">-->
            <!--<p>未读回复</p>-->
        <!--</div>-->
        <!--<div class="weui-cell__ft"></div>-->
    <!--</a>-->
    <a class="weui-cell weui-cell_access" href="{:url('gupiao.mycenter/transaction')}">
        <div class="weui-cell__hd"><i class="iconfont icon-jiaoyi i3"></i></div>
        <div class="weui-cell__bd">
            <p>交易记录</p>
        </div>
        <div class="weui-cell__ft"></div>
    </a>

    <a class="weui-cell weui-cell_access" href="{:url('gupiao.mycenter/rechargerecord')}">
        <div class="weui-cell__hd"><i class="iconfont icon-chongzhijilu i2"></i></div>
        <div class="weui-cell__bd">
            <p>充值记录</p>
        </div>
        <div class="weui-cell__ft"></div>
    </a>
    <!--<a class="weui-cell weui-cell_access" href="{:url('index/words/words')}">-->
        <!--<div class="weui-cell__hd"><i class="iconfont icon-liuyan i2"></i></div>-->
        <!--<div class="weui-cell__bd">-->
            <!--<p>我要留言</p>-->
        <!--</div>-->
        <!--<div class="weui-cell__ft"></div>-->
    <!--</a>-->
    {if $sort==0}
    <a class="weui-cell weui-cell_access" href="{:url('index/words/details')}">
        <div class="weui-cell__hd"><i class="iconfont icon-huifu i2"></i></div>
        <div class="weui-cell__bd">
            <p>我的消息</p>
        </div>
        <div class="weui-cell__ft"></div>
    </a>
    {/if}
    {if $sort==1}
    <a class="weui-cell weui-cell_access" href="{:url('index/words/details')}">
        <div class="weui-cell__hd"><i class="iconfont icon-huifu i2"></i></div>
        <div class="weui-cell__bd">
            <p style="float: left;">我的消息</p><span style="color: red;float: right;font-size: 12px;line-height: 25px">·&nbsp;新增</span>
        </div>
        <div class="weui-cell__ft"></div>
    </a>
    {/if}

    <!--<a class="weui-cell weui-cell_access" href="javascript:;">-->
        <!--<div class="weui-cell__hd"><i class="iconfont icon-chongzhi- i1"></i></div>-->
        <!--<div class="weui-cell__bd">-->
            <!--<p>余额：-->

                <!--{if  $yu.balance != 0}-->
                <!--{$yu.balance}-->
                <!--{else if $yu.balance == 0}-->
                <!--0-->
                <!--{/if}-->
                <!--元</p>-->
        <!--</div>-->
        <!--<div class="weui-cell__ft"></div>-->
    <!--</a>-->

    {else if $yu.is_manager == 1}



    <a class="weui-cell weui-cell_access" href="{:url('gupiao.mycenter/gupiaoadd')}">
        <div class="weui-cell__hd"><i class="iconfont icon-add-copy i2"></i></div>
        <div class="weui-cell__bd">
            <p>添加股票</p>
        </div>
        <div class="weui-cell__ft"></div>
    </a>

    <a class="weui-cell weui-cell_access" href="{:url('gupiao.mycenter/transaction')}">
        <div class="weui-cell__hd"><i class="iconfont icon-jiaoyi i3"></i></div>
        <div class="weui-cell__bd">
            <p>交易记录</p>
        </div>
        <div class="weui-cell__ft"></div>
    </a>

    <a class="weui-cell weui-cell_access" href="{:url('gupiao.mycenter/rechargerecord')}">
        <div class="weui-cell__hd"><i class="iconfont icon-jiaoyi i3"></i></div>
        <div class="weui-cell__bd">
            <p>充值记录</p>
        </div>
        <div class="weui-cell__ft"></div>
    </a>
    {if $flag==0}
    <a class="weui-cell weui-cell_access" href="{:url('index/words/list_words')}">
        <div class="weui-cell__hd"><i class="iconfont icon-huifu i2"></i></div>
        <div class="weui-cell__bd">
            <p>消息列表</p>
        </div>
        <div class="weui-cell__ft"></div>
    </a>
    {/if}
    {if $flag==1}
    <a class="weui-cell weui-cell_access" href="{:url('index/words/list_words')}">
        <div class="weui-cell__hd"><i class="iconfont icon-huifu i2"></i></div>
        <div class="weui-cell__bd">
            <p style="float: left;">留言列表</p><span style="color: red;float: right;font-size: 12px;line-height: 25px">·&nbsp;新增</span>
        </div>
        <div class="weui-cell__ft"></div>
    </a>
    {/if}
    {/if}

</div>
<div class="mb70"></div>
<div class="weui-flex weui-fixed-btm">
    <div class="weui-flex__item">
        <a href="{:url('gupiao.index/index')}" class="weui-fixed-btn">
            <i class="iconfont icon-shouye"></i>
            <p>首页</p>
        </a>
    </div>
    <div class="weui-flex__item">
        <a href="javascript:;" class="weui-fixed-btn weui-btn_primary">
            <i class="iconfont icon-yonghufill"></i>
            <p>用户中心</p>
        </a>
    </div>
</div>

</body>
</html>

